import { tap } from 'rxjs/operators'
import { Injectable } from '@angular/core'
import { NetService } from '@app/core/http'
import { systemController } from '../config/controllers/system.controller'

@Injectable()
export class SystemService {
  constructor(private net: NetService) {}

  public getCommonParamters() {
    return this.net.send({
      service: systemController.getCommonParamters
    })
  }

  public getAssetParamters() {
    return this.net.send({
      service: systemController.getAssetParamters
    })
  }

  public getInteractParamters() {
    return this.net.send({
      service: systemController.getInteractParamters
    })
  }
}
